/**
 * 
 */
package org.dg.iag.crawl;

import java.util.Date;

import org.dg.iag.crawl.interf.StoreInterface;
import org.dg.iag.entity.Log;
import org.restlet.representation.Representation;

/**
 * @author Alex Gartner
 *
 */
public class TestFeedStore implements StoreInterface {

	/* (non-Javadoc)
	 * @see org.dg.iag.crawl.interf.StoreInterface#store(java.lang.Long, java.lang.String, java.util.Date, org.restlet.representation.Representation)
	 */
	@Override
	public Log store(Long timeInMilis, String feedTag, String url, Date timestamp,
			Representation representation) {
		System.out.println("id " + timeInMilis + " from " + url );
//		try {
//			System.out.println( representation.getText() );
//		} catch (IOException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
		return null;
	}

	@Override
	public Log store(Long timeInMilis, String feedTag, String url, Date timestamp, String text, Boolean zip) {
		// TODO Auto-generated method stub
		System.out.println("id " + timeInMilis + " from " + url );
		return null;
	}

	@Override
	public void finish() {
		
		
	}

	@Override
	public void setFirstInTempLocation(boolean firstInTempLocation) {
		
	}

}
